package com.cy.pj.projects.service.impl;


import com.cy.pj.projects.dao.PortalTypeDao;
import com.cy.pj.projects.pojo.PortalTypeVO;
import com.cy.pj.projects.service.PortalTypeService;
import com.cy.pj.projects.dao.PortalProjectDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/*
 * 业务逻辑层;
 * */
@Service
public class PortalTypeServiceImpl implements PortalTypeService {
    @Autowired
    private PortalTypeDao portalTypeDao;
    @Autowired
    private PortalProjectDao portalProjectDao;

    //1.查询分类数据;
    @Override
    public List<PortalTypeVO> getPortalTypeVO() {
        //1.查询分类数据,并返回;
        return portalTypeDao.getPortalTypeObjects();
    }
}
